
/*
YUI 3.18.1 (build f7e7bcb)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/

html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}
body{
    margin: 0px;/*清除margin的空白边框，因为发现实现的时候上左右有白边*/
    width:100%;
    height:100%;
}
.top{
    background-color: #e5e5e5;
    width: 100%;
    height: 40px;
    border-bottom:solid #ced5d3 1px;
}
.top_top2{
    font-family: "微软雅黑 Light";
    width: 1024px;
    margin: auto;
    height:40px;
    font-size: 20px;
}
#login,#back{
    text-decoration:none;
    float:right;
    color: #000000;
    margin-top:7px;
    cursor: pointer;
}
.car{
    float: right;
    height: 12px;
    width: 22px;
    margin-right: 37px;/*此处有一大坑，特么的个！@#￥%……&*。用float的时候是相对于同级别的上个标签的位置，而不是。。。【总之，html的代码这里要先写car，再写“我的购物车”*/
    margin-top: 14px;
}
.welcome{
    font-family: 微软雅黑;
    font-size: 18px;
    color: #989898;
}
.myCar{
    font-family: 微软雅黑;
    font-size: 18px;
    float: right;
    margin-right:3px;
    margin-top: 8px;
    text-decoration: none;
    color: #989898;
}
.welcome{
    float: left;
    margin: 0px;
    margin-top:8px;
}
.box1{
    width:1024px;
    margin:auto;
}
.list{
    background-color: #c40000;
    width:159px;
    height:499px;
    float: left;
    text-align: center;
}
.house{
    width: 36px;
    height:36px;
    margin-top: 30px;
}
.list p{
    font-family: "微软雅黑 Light";
    font-size: 20px;
    color:#ffffff;
    margin:8px;
}
.search{
    padding: 0px;
    height: 36px;
    width:452px;
    border-width: 2px;
    border-color: #C40000;
    margin-top: 32px;
    border-style: solid;/*不会出现奇怪的样式*/
    font-size: 18px;
    font-weight: 500;
    font-family: 黑体;
    margin-left: 100px;
}
/*清除input框里的叉叉,但是input类型为search时只有ie浏览器可以*/
.search::-ms-clear{
    display: none;
}
.search:focus{
    outline: none;/*去掉输入时外边框的效果；*/
}
.down{
    margin-top: 7px;
    margin-left: 343px;
}
.down a{
    display:inline;
    font-size: 18px;
    font-family: 微软雅黑;
    text-decoration: none;
    color: black;
    margin-left:20px;
}
.shadow{
    background-color: #000000;
    width: 100%;
    height:400px;
    position: absolute;/*上下级别的叠加图片或者背景，position relative(father) absolute(son),并且下一个同级别标签也会叠加,最后一个absolute及以后的同级标签停留在同一层*/
    opacity:0.09;/*调整透明度,如果你在一个标签里用这个东西，那么标签里边的所有标签都会是这种属性（如果不出意外）*/
}
.box2{
    width:1024px;
    margin-left:auto;
    margin-right:auto;
}
.girl{
    float: right;
    width: 865px;
    position: absolute;
}
.icon{
    width: 159px;
    text-align: center;
    list-style: none;/*清除ul所有装饰效果*/
    position: absolute;
    margin-top:35px;
}
.icon img{
    width: 15px;
    height: 15px;
    margin-right: 10px;
}
.icon li{
    height: 50px;
}
.icon a{
    font-family:微软雅黑;
    font-size: 18px;
    text-decoration: none;
    color: #ffffff;
}
.middle{
    margin-top: 538px;
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
}
.socksClass{
    height: 400px;
    background-color: #e9e9e9;
}
.left {
    width: 159px;
    float: left;
    display:block;
    text-align: center;
}
.right{
    width: 865px;
    float: right;
}
.right ul{
    margin: 0px;
    padding:0px;
    list-style: none;
}
.right ul li{
    float: left;
    margin-bottom:20px;
    margin-left: 75px;
    margin-right:50px;
}
.thing{
    width: 150px;
    height: 190px;
    background-color: white;
    text-align: center;
}
.thing img{
    margin-top: 2px;
    width: 146px;
    height: 146px;
}
.name{
    font-family: 微软雅黑;
    font-size: 14px;
    margin: 0px;
    margin-top: 2px;
}
.price{
    font-family: 微软雅黑;
    font-size: 14px;
    color: #ff0000;
    margin: 0px;
}
.left img{
    float: left;
    position: relative;
}
.blue{
    float: left;
    margin: 30px;
    position: absolute;
    font-family: "微软雅黑 Light";
    color: #ffffff;
    font-size: 18px;
}
.intro{
    clear: both;
}
.intro p{
    font-family: 微软雅黑;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}
.intro ul{
    list-style: none;
    font-family: 微软雅黑;
    font-size: 16px;
}
.intro ul li a{
    color: #000;
    text-decoration: none;
    margin-bottom: 10px;
}
.shoesClass{
    margin-top: 38px;
    height: 400px;
    background-color: #e9e9e9;
}
.fruitClass{
    margin-top: 38px;
    height: 400px;
    background-color: #e9e9e9;
}
.oral{
    margin-top:38px;
    margin-left: auto;
    margin-right: auto;
    padding:0px;
    width: 250px;
    height: 50px;
    background-color: rgb(233,233,233);
    border-radius: 25px;/*圆角*/
    text-align: center;
}
.oral a{
    display:block;
    padding-top: 5px;
    width: 100%;
    font-family: "微软雅黑 Light";
    font-size: 30px;
    text-decoration: none;
    color: #000000;
}
.footer{
    margin-top:38px;
    width:100%;
    height:215px;
    background-color: rgba(0,0,0,0.09);

}
.footer img{
    display: block;/*块级元素，有些标签或者元素margin：auto不居中就是因为这个*/
    margin:auto;
}
.bottom{
    width:100%;
    height: 30px;
    background-color: #000000;
    text-align: center;
    font-family: "微软雅黑 Light";
    font-size: 14px;
    color: white;
}
.bottom p{
    display: block;
    padding-top: 7px;
}

#bg{
    left:0;
    top:0;
    background:#000;
    opacity:0.3;
    position:absolute;
    width: 100%;
}
#content{
    top:50%;
    left:50%;
    width:400px;
    height:350px;
    margin:-175px -200px;
    background: rgb(255,255,255);
    text-align: center;
    position: fixed;
    -webkit-box-shadow:  0px 0px 10px 0.1px rgb(0, 0, 0);
    -moz-box-shadow:  0px 0px 10px 0.1px rgb(0, 0, 0);
    box-shadow:  0px 0px 10px 0.1px rgb(0, 0, 0);
    -o-box-shadow:0px 0px 10px 0.1px rgb(0, 0, 0) ;
}
#content p{
    font-family: "微软雅黑 Light";
    font-size: 22px;
    margin-top: 50px;
}
.nInput{
    margin-bottom: 20px;
    margin-top: 30px;
}
#content input{
    width:250px ;
    height: 30px;
    outline: none;/*可以清除默认的鼠标"选中的样式"；*/
    padding-left: 10px;/*输入框光标和输入框左边之间的距离*/
    /*border-color:transparent;可以让边框保持透明*/
    /*border: none;取消border*/
}
#content input:focus{
    border: 2px solid rgb(152,152,152);
}
#content .button{
    background-color: rgb(210, 210, 210);
    height: 30px;
    width: 100px;
    /*border:none;*/
    margin-left: auto;
    margin-right: auto;
    margin-top: 55px;
    font-family: "微软雅黑 Light";
    font-size: 20px;
    padding-top: 4px;
    color: rgb(152,152,152);
    /*outline:none;*/
}
#content .button:hover{
    background: rgb(238, 238, 238);
    color: rgb(190,190,190);
    cursor: pointer;
}
/*:focus表示输入框在被点击后的样式；:active表示鼠标点击直到松开时候的样式；:hover表示鼠标悬浮上面的时候的样式；*/
.hide{
    display: none;
}
.show{
    display: block;
}